﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace HappyFrogXna.ScreenSystem
{
    public class GolbalXnaGadgetProvider
    {
        public GameScreen TopScreen { get; set; }
        public SpriteBatch SpriteBatch { get; set; }
        public SpriteFonts Fonts { get; set; }
        public ContentManager Content { get; set; }
        public GraphicsDevice GraphicsDevice { get; set; }

        private static GolbalXnaGadgetProvider _instance = null;
        public static GolbalXnaGadgetProvider Instance
        {
            get
            {
                if (_instance == null)
                    _instance = new GolbalXnaGadgetProvider();
                return _instance;
            }
        }

        private GolbalXnaGadgetProvider()
        { }
    }
}
